package top.guoyang.springboot3.service.lianxi;

import top.guoyang.springboot3.base.PageBean;
import top.guoyang.springboot3.base.R;

import top.guoyang.springboot3.entity.TbContact.TbContact;
import top.guoyang.springboot3.vo.PageVO;

public interface TbContactService {

    R<String> insert(TbContact tbContact);

    R<PageVO<TbContact>> query(TbContact tbContact, PageBean pageBean);

    R<String>delete(Integer id);

    R<String> update(TbContact tbContact);

    R<TbContact> queryById(Integer id);
}
